home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _C08211DA072247A98E3B8FA5396309A9 < prev    next >
Encoding:
Text File  |  2006-08-04  |  1.0 KB  |  34 lines

  1.  
  2. from PSPApp import *
  3.  
  4. def ScriptProperties():
  5.     return {
  6.         'Author': u'Corel Corporation',
  7.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  8.         'Description': 'Factory default preset for ColorAdjustHSL effect',
  9.         'Host': 'Paint Shop Pro 8',
  10.         'Host Version': '8.00',
  11.         }
  12.  
  13. def Preset_ColorAdjustHSL():
  14.     return {
  15.         'GeneralSettings': {
  16.             'AutoActionMode': 0,
  17.             'ExecutionMode': 0
  18.             },
  19.         'HSL': {
  20.             'Blue': (0, 0, 0, 195, 225, 255, 285),
  21.             'Yellow': (0, 0, 0, 15, 45, 75, 105),
  22.             'Green': (0, 0, 0, 75, 105, 135, 165),
  23.             'MasterColorize': (0, 0, 0),
  24.             'Cyan': (0, 0, 0, 135, 165, 195, 225),
  25.             'Master': (0, 0, 0),
  26.             'Magenta': (0, 0, 0, 255, 285, 315, 345),
  27.             'Colorize': 0,
  28.             'Red': (0, 0, 0, 315, 345, 15, 45)
  29.             }
  30.         }
  31.  
  32. def Do(Environment):
  33.     App.Do( Environment, 'ColorAdjustHSL', Preset_ColorAdjustHSL())
  34.